﻿<Page x:Class="OpenSearchExplorer.OSDDDisplayPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:OpenSearchExplorer"
      mc:Ignorable="d" 
      d:DesignHeight="505" d:DesignWidth="600"
	Title="OSDD Display">

    <Grid Height="Auto">
        <TextBlock Margin="5, 5, 5, 5" Name="OSDDDisplayLabel">OpenSearch Description Document</TextBlock>
        <TabControl Margin="0,26,0,0">
            <TabItem Header="Text">
                <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
                    <TextBlock Name="osddTextBlock">(The OSDD is still being parsed)</TextBlock>
                </ScrollViewer>
            </TabItem>
            <TabItem Header="Raw XML">
                <avalonEdit:TextEditor xmlns:avalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit"
                    Name="osddRawView"
                    FontFamily="Consolas"
                    SyntaxHighlighting="XML"
                    FontSize="10pt"/>
            </TabItem>
        </TabControl>

    </Grid>
</Page>
